package com.red.po;

import java.util.List;

public class Teacher {
	 private int id;     
	 private String name;               // 教师姓名 
	 private String gender;        // 教师性别 
	 private String researchArea;    // 研究领域 
	 private List<Student> supStudents; // 指导学生 
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getResearchArea() {
		return researchArea;
	}
	public void setResearchArea(String researchArea) {
		this.researchArea = researchArea;
	}
	public List<Student> getSupStudents() {
		return supStudents;
	}
	public void setSupStudents(List<Student> supStudents) {
		this.supStudents = supStudents;
	}
	@Override
	public String toString() {
		return "Teacher [id=" + id + ", name=" + name + ", gender=" + gender
				+ ", researchArea=" + researchArea + ", supStudents="
				+ supStudents + "]";
	}
	 
	 
}
